<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title></title>
	<link rel="stylesheet" href="/css/index.css" />
	<link rel="stylesheet" href="/css/common.css" />
	<link rel="stylesheet" href="/css/login.css" />
	<script type="text/javascript" src="/js/jquery-3.3.1.js" ></script>
	<script type="text/javascript" src="/js/common.js" /></script>
    <script type="text/javascript" src="/js/admin/ready.js" /></script>
	<script type="text/javascript">
        $(function(){
            $("#autoLogin").click(function(event){
                var checked = $("#autoLogin").prop("checked");
                if(checked){
                    $("#autoLogin").val("autoLogin");
                }else{
                    $("#autoLogin").val("");
                }
            });
        });
	</script>
</head>
<body>
<div class="login-container bg-color-gray">
	<form action="Login" method="post">
		<input type="text" class="item" name="username" placeholder="请输入用户名"/>
		<input type="password" class="item" name="password" placeholder="请输入密码"/>
		<div class="v-code item">
			<input class="code-item" type="text" name="safecode" placeholder="验证码" maxlength="4" />
			<img class="code-item" title="点击更换" onclick="refresh(this);" src="ImageServlet" />
		</div>
		<input id="autoLogin" name="autoLogin" type="checkbox" value="" />
		<span style="font-size: xx-small;">七天免登录</span>
		<input id="login" class="item" type="submit" value="登录"/>
	</form>
</div>
<span class="errMsg">${errMsg}</span>
</body>
</html>